<?php
//session.php
//included in all files that need to be protected
//josh brown


if (!isset($_SESSION['iframeserverAuth'])
    || $_SESSION['iframeserverAuth'] !== true) {
    header('Location: index.php?msg=1');
    exit;
}
else {
$curUser = @$_SESSION['iframeserverUser'];
}
include("config.php");

?>